<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TESTER</title>
</head>
<body>

<h1>商品列表接口</h1>
<p>
1，国家馆的详情，需要传country_id进入<br>
	</p>
<form name="form" method="get" onsubmit="javascript:return go()">
签名：<input name="sign" id="sign" value="" /> 签名不是必须的，如果带有签名，则会验证签名是否OK <br> 
offset：<input name="offset" id="offset" value="" /> <br> 
pagesize：<input name="pagesize" id="pagesize" value="" /> <br> 

分类category_id：<input name="category_id" id="category_id" value="" /> <br> 
品牌brand_id：<input name="brand_id" id="brand_id" value="" /> <br> 
店铺shop_id：<input name="shop_id" id="shop_id" value="" /> <br> 
国家馆country_id：<input name="country_id" id="country_id" value="" /> <br> 
价格min_price：<input name="min_price" id="min_price" value="" /> <br> 
价格max_price：<input name="max_price" id="max_price" value="" /> <br> 
关键词keyword：<input name="keyword" id="keyword" value="" /> <br> 

排序字段order_field：<input name="order_field" id="order_field" value="" /> 综合：id，销量：sales，价格：price <br> 
排序方向order_sort：<input name="order_sort" id="order_sort" value="" /> 升序：asc，倒序：desc <br> 

积分商城商品integral：<input name="integral" id="integral" value="" /> 1为显示积分商城商品<br>

<input type=submit value=submit>
</form>
<script>
function go(){
	self.location = "/api.php?app=goods&act=index&sign="+document.getElementById('sign').value+"&offset="+document.getElementById('offset').value+"&pagesize="+document.getElementById('pagesize').value+"&category_id="+document.getElementById('category_id').value+"&shop_id="+document.getElementById('shop_id').value+"&brand_id="+document.getElementById('brand_id').value+"&country_id="+document.getElementById('country_id').value+"&min_price="+document.getElementById('min_price').value+"&max_price="+document.getElementById('max_price').value+"&order_field="+document.getElementById('order_field').value+"&keyword="+"&order_sort="+document.getElementById('order_sort').value+"&keyword="+document.getElementById('keyword').value+"&integral="+document.getElementById('integral').value;
	return false;
}
</script>
</body>
</html>
